/*
  ==============================================================================

  This is an automatically generated file created by the Jucer!

  Creation date:  5 Oct 2009 1:39:31 pm

  Be careful when adding custom code to these files, as only the code within
  the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
  and re-saved.

  Jucer version: 1.12

  ------------------------------------------------------------------------------

  The Jucer is part of the JUCE library - "Jules' Utility Class Extensions"
  Copyright 2004-6 by Raw Material Software ltd.

  ==============================================================================
*/

//[Headers] You can add your own extra header files here...
//[/Headers]

#include "EdoToolbar.h"


//[MiscUserDefs] You can add your own user definitions and misc code here...
//[/MiscUserDefs]

//==============================================================================
EdoToolbar::EdoToolbar ()
    : listener(0),
      preferencesButton (0),
      quitButton (0),
      notificationLabel (0)
{
    addAndMakeVisible (preferencesButton = new ImageButton (T("Preferences")));
    preferencesButton->setTooltip (T("Preferences"));
    preferencesButton->addButtonListener (this);

    preferencesButton->setImages (false, true, true,
                                  ImageCache::getFromMemory (stock_preferences_png, stock_preferences_pngSize), 0.7610f, Colour (0x0),
                                  ImageCache::getFromMemory (stock_preferences_png, stock_preferences_pngSize), 1.0000f, Colour (0x0),
                                  ImageCache::getFromMemory (stock_preferences_png, stock_preferences_pngSize), 1.0000f, Colour (0x25000000));
    addAndMakeVisible (quitButton = new ImageButton (T("Quit")));
    quitButton->setTooltip (T("Quit"));
    quitButton->addButtonListener (this);

    quitButton->setImages (false, true, true,
                           ImageCache::getFromMemory (stock_quit2_png, stock_quit2_pngSize), 0.7610f, Colour (0x0),
                           ImageCache::getFromMemory (stock_quit2_png, stock_quit2_pngSize), 1.0000f, Colour (0x0),
                           ImageCache::getFromMemory (stock_quit2_png, stock_quit2_pngSize), 1.0000f, Colour (0x25000000));
    addAndMakeVisible (notificationLabel = new Label (String::empty,
                                                      String::empty));
    notificationLabel->setFont (Font (9.5000f, Font::bold));
    notificationLabel->setJustificationType (Justification::centred);
    notificationLabel->setEditable (false, false, false);
    notificationLabel->setColour (Label::backgroundColourId, Colour (0x727272));
    notificationLabel->setColour (Label::textColourId, Colour (0xffd20e5b));
    notificationLabel->setColour (TextEditor::textColourId, Colours::black);
    notificationLabel->setColour (TextEditor::backgroundColourId, Colour (0x0));


    //[UserPreSize]
	bgBrush = ImageCache::getFromMemory (toolbar1_png, toolbar1_pngSize);
	notificationLabel->setVisible (false);	
    //[/UserPreSize]

    setSize (600, 32);

    //[Constructor] You can add your own custom stuff here..
    //[/Constructor]
}

EdoToolbar::~EdoToolbar()
{
    //[Destructor_pre]. You can add your own custom destruction code here..
	listener = 0;
	items.clear (true);
    //[/Destructor_pre]

    deleteAndZero (preferencesButton);
    deleteAndZero (quitButton);
    deleteAndZero (notificationLabel);

    //[Destructor]. You can add your own custom destruction code here..
    //[/Destructor]
}

//==============================================================================
void EdoToolbar::paint (Graphics& g)
{
    //[UserPrePaint] Add your own custom painting code here..
    //[/UserPrePaint]

    //[UserPaint] Add your own custom painting code here..
	ImageBrush b(bgBrush, 0, 0, 1.0f);
	g.setBrush (&b);
	g.fillAll();
    //[/UserPaint]
}

void EdoToolbar::resized()
{
    preferencesButton->setBounds (4, 4, 28, 23);
    quitButton->setBounds (getWidth() - 32, 4, 28, 23);
    notificationLabel->setBounds (getWidth() - 160, 0, 104, 32);
    //[UserResized] Add your own custom resize handling here..
    //[/UserResized]
}

void EdoToolbar::buttonClicked (Button* buttonThatWasClicked)
{
    //[UserbuttonClicked_Pre]
    //[/UserbuttonClicked_Pre]

    if (buttonThatWasClicked == preferencesButton)
    {
        //[UserButtonCode_preferencesButton] -- add your button handler code here..
		broadcastEvent (EDO_TOOLBAR_PREFERENCES, preferencesButton);
        //[/UserButtonCode_preferencesButton]
    }
    else if (buttonThatWasClicked == quitButton)
    {
        //[UserButtonCode_quitButton] -- add your button handler code here..
		broadcastEvent (EDO_TOOLBAR_QUIT, quitButton);
		return;
        //[/UserButtonCode_quitButton]
    }

    //[UserbuttonClicked_Post]
	const int id = buttonThatWasClicked->getComponentPropertyInt (T("toolbarItemId"), false, -4);
	broadcastEvent (id, buttonThatWasClicked);
    //[/UserbuttonClicked_Post]
}



//[MiscUserCode] You can add your own definitions of your custom methods or any other code here...
const bool EdoToolbar::addToolbarListener (EdoToolbarListener *listenerToAdd)
{
	listener = listenerToAdd;

	return (true);
}

const bool EdoToolbar::removeToolbarListener (EdoToolbarListener *listenerToRemove)
{
	listener = 0;

	return (true);
}

void EdoToolbar::broadcastEvent (const int eventToBroadcast, Button *const triggerButton)
{
	if (listener)
	{
		listener->toolbarEvent (eventToBroadcast, triggerButton);
		return;
	}
}

ImageButton *EdoToolbar::addItem (const uint32 itemId, const String &itemName, const ToolbarIcons internalIconId)
{
	switch (internalIconId)
	{
		case PreferencesIcons:
			return (addItem (itemId, itemName, ImageCache::getFromMemory (stock_preferences_png, stock_preferences_pngSize)));

		case QuitIcon:
			return (addItem (itemId, itemName, ImageCache::getFromMemory (stock_quit2_png, stock_quit2_pngSize)));

		case DeleteIcon:
			return (addItem (itemId, itemName, ImageCache::getFromMemory (stock_delete_png, stock_delete_pngSize)));

		case AddIcon:
			return (addItem (itemId, itemName, ImageCache::getFromMemory (stock_add_png, stock_add_pngSize)));

		case FindIcon:
			return (addItem (itemId, itemName, ImageCache::getFromMemory (stock_find_png, stock_find_pngSize)));

		case SaveIcon:
			return (addItem (itemId, itemName, ImageCache::getFromMemory (stock_save_png, stock_save_pngSize)));

		case RefreshIcon:
			return (addItem (itemId, itemName, ImageCache::getFromMemory (stock_refresh_png, stock_refresh_pngSize)));

		case OpenIcon:
			return (addItem (itemId, itemName, ImageCache::getFromMemory (stock_open_png, stock_open_pngSize)));

		case NewIcon:
			return (addItem (itemId, itemName, ImageCache::getFromMemory (stock_new_png, stock_new_pngSize)));

		case SpaceInvaderIcon:
			return (addItem (itemId, itemName, ImageCache::getFromMemory (stock_invader_png, stock_invader_pngSize)));

		case GaduIcon:
			return (addItem (itemId, itemName, ImageCache::getFromMemory (stock_gadu_png, stock_gadu_pngSize)));

		case PersonIcon:
			return (addItem (itemId, itemName, ImageCache::getFromMemory (stock_person_png, stock_person_pngSize)));

		default:
			return (false);
	}
}

ImageButton *EdoToolbar::addItem (const uint32 itemId, const String &itemName, Image *icon)
{
	if (itemExists (itemId))
	{
		return (false);
	}
	else
	{
		ImageButton *b = new ImageButton (itemName);
		addAndMakeVisible (b);

		b->setImages (false, true, true,
                              icon, 0.7610f, Colour (0x0),
                              0, 1.0000f, Colour (0x0),
                              0, 1.0000f, Colour (0x25000000));
		b->setBounds (0,0,icon->getWidth(), icon->getHeight());
		b->setComponentProperty (T("toolbarItemId"), (double)itemId);
		b->setTooltip (itemName);
		b->addButtonListener (this);

		items.add (b);
		items.sort(itemSorter);

		positionItems();
		return (b);
	}
}

void EdoToolbar::removeItem (const uint32 itemId)
{
}

const bool EdoToolbar::itemExists(const uint32 itemId)
{
	for (int i=0; i<items.size(); i++)
	{
		if (items[i]->getComponentPropertyInt (T("toolbarItemId"), false, -1) == itemId)
			return (true);
	}

	return (false);
}

int EdoToolbarSort::compareElements (ImageButton *first, ImageButton *second)
{
	if (first->getComponentPropertyInt (T("toolbarItemId"), false, -1) < second->getComponentPropertyInt (T("toolbarItemId"), false, -1))
		return (-1);
	if (first->getComponentPropertyInt (T("toolbarItemId"), false, -1) > second->getComponentPropertyInt (T("toolbarItemId"), false, -1))
		return (1);
	if (first->getComponentPropertyInt (T("toolbarItemId"), false, -1) == second->getComponentPropertyInt (T("toolbarItemId"), false, -1))
		return (0);

	return (0);
}

void EdoToolbar::positionItems()
{
	uint32 currentX=40;

	for (int i=0; i<items.size(); i++)
	{
		ImageButton *b			= items[i];
		// const uint32 itemId		= b->getComponentPropertyInt (T("toolbarItemId"), false, -1);

		b->setBounds (currentX, 4, b->getWidth(), b->getHeight());

		currentX				= currentX + b->getWidth() + 4;
	}
}

void EdoToolbar::notify (const String &shortText, const Colour &textColour, const uint32 timeout)
{
	notificationLabel->setColour (Label::textColourId, textColour);
	notificationLabel->setText (shortText, false);
	notificationLabel->setVisible(true);

	notificationLabel->fadeOutComponent (timeout);
}

ImageButton *EdoToolbar::getQuitButton()
{
	return (quitButton);
}

ImageButton *EdoToolbar::getPreferencesButton()
{
	return (preferencesButton);
}
//[/MiscUserCode]


//==============================================================================
#if 0
/*  -- Jucer information section --

    This is where the Jucer puts all of its metadata, so don't change anything in here!

BEGIN_JUCER_METADATA

<JUCER_COMPONENT documentType="Component" className="EdoToolbar" componentName=""
                 parentClasses="public Component" constructorParams="" variableInitialisers="listener(0)"
                 snapPixels="8" snapActive="1" snapShown="1" overlayOpacity="0.330000013"
                 fixedSize="1" initialWidth="600" initialHeight="32">
  <BACKGROUND backgroundColour="ffffff"/>
  <IMAGEBUTTON name="Preferences" id="5e2a5641d762d847" memberName="preferencesButton"
               virtualName="" explicitFocusOrder="0" pos="4 4 28 23" tooltip="Preferences"
               buttonText="Preferences" connectedEdges="0" needsCallback="1"
               radioGroupId="0" keepProportions="1" resourceNormal="stock_preferences_png"
               opacityNormal="0.761006296" colourNormal="0" resourceOver="stock_preferences_png"
               opacityOver="1" colourOver="0" resourceDown="stock_preferences_png"
               opacityDown="1" colourDown="25000000"/>
  <IMAGEBUTTON name="Quit" id="d3e4da7dcead1259" memberName="quitButton" virtualName=""
               explicitFocusOrder="0" pos="32R 4 28 23" tooltip="Quit" buttonText="Quit"
               connectedEdges="0" needsCallback="1" radioGroupId="0" keepProportions="1"
               resourceNormal="stock_quit2_png" opacityNormal="0.761006296"
               colourNormal="0" resourceOver="stock_quit2_png" opacityOver="1"
               colourOver="0" resourceDown="stock_quit2_png" opacityDown="1"
               colourDown="25000000"/>
  <LABEL name="" id="62459b5835a17078" memberName="notificationLabel"
         virtualName="" explicitFocusOrder="0" pos="160R 0 104 32" bkgCol="727272"
         textCol="ffd20e5b" edTextCol="ff000000" edBkgCol="0" labelText=""
         editableSingleClick="0" editableDoubleClick="0" focusDiscardsChanges="0"
         fontname="Default font" fontsize="9.5" bold="1" italic="0" justification="36"/>
</JUCER_COMPONENT>

END_JUCER_METADATA
*/
#endif

//==============================================================================
// Binary resources - be careful not to edit any of these sections!

// JUCER_RESOURCE: toolbar1_png, 144, "../../Users/atom/Desktop/Leopardish/gtk-2.0/toolbar-1.png"
static const unsigned char resource_EdoToolbar_toolbar1_png[] = { 137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,10,0,0,0,32,8,2,0,0,0,164,103,126,186,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,
0,154,156,24,0,0,0,7,116,73,77,69,7,215,10,24,6,8,52,241,18,227,233,0,0,0,47,73,68,65,84,40,207,99,220,180,105,19,3,110,192,242,255,255,255,81,105,76,233,127,255,254,141,6,11,149,165,153,24,240,130,161,
235,52,154,122,140,209,193,193,1,143,52,0,0,101,83,247,227,177,119,170,0,0,0,0,73,69,78,68,174,66,96,130,0,0};

const char* EdoToolbar::toolbar1_png = (const char*) resource_EdoToolbar_toolbar1_png;
const int EdoToolbar::toolbar1_pngSize = 144;

// JUCER_RESOURCE: stock_preferences_png, 992, "../../Users/atom/Desktop/Leopardish/gtk-2.0/icons/stock_preferences.png"
static const unsigned char resource_EdoToolbar_stock_preferences_png[] = { 137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,28,0,0,0,23,8,6,0,0,0,24,202,47,87,0,0,0,6,98,75,71,68,0,255,0,255,0,255,
160,189,167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,215,10,27,13,53,0,164,174,31,237,0,0,3,109,73,68,65,84,72,199,181,150,205,75,106,91,24,198,127,219,189,119,
232,78,8,60,36,69,101,131,6,113,46,13,130,130,26,100,31,35,133,68,27,57,181,112,18,84,208,7,209,160,32,112,22,36,22,212,200,65,4,141,195,63,33,106,112,13,33,12,226,30,41,26,4,5,97,100,133,149,150,91,215,
29,28,218,220,72,237,156,123,187,15,60,131,119,189,107,191,207,122,214,94,239,98,73,177,88,140,145,145,145,233,64,32,16,121,120,120,64,8,193,87,66,146,36,234,234,234,216,222,222,158,137,197,98,107,0,51,
193,96,80,36,147,73,81,40,20,68,169,84,250,82,22,10,5,145,76,38,69,48,24,20,192,140,60,58,58,250,231,212,212,20,29,29,29,0,8,33,190,148,0,118,187,157,214,214,86,94,94,94,92,74,38,147,161,189,189,157,98,
177,248,75,91,244,244,244,196,183,111,223,140,248,246,246,150,218,218,218,79,191,107,111,111,39,147,201,96,122,91,137,174,235,21,153,72,36,240,122,189,228,243,121,132,16,104,154,102,80,8,65,62,159,199,
235,245,146,72,36,42,214,120,211,49,125,38,118,116,116,132,207,231,35,30,143,227,241,120,200,100,50,152,205,102,131,153,76,6,143,199,67,60,30,199,231,243,113,116,116,84,85,212,4,80,40,20,42,50,26,141,
162,170,42,154,166,145,74,165,232,236,236,164,166,166,198,96,103,103,39,169,84,10,77,211,80,85,149,104,52,90,177,22,128,34,132,48,130,114,8,135,195,108,108,108,176,181,181,133,170,170,88,44,150,119,249,
127,254,207,177,177,49,38,39,39,43,214,19,66,160,188,57,44,135,92,46,135,36,73,248,253,126,118,118,118,0,176,88,44,44,44,44,240,199,247,239,252,245,227,7,43,43,43,228,114,57,0,252,126,63,119,119,119,8,
33,62,44,236,13,85,29,118,119,119,255,156,164,40,216,237,118,0,150,151,151,233,237,237,165,88,44,50,56,56,136,217,108,102,105,105,9,128,190,190,62,116,93,7,32,153,76,86,118,248,250,250,90,86,176,165,165,
229,195,88,91,91,27,143,143,143,239,98,89,150,1,104,108,108,52,198,43,213,172,234,80,81,148,15,99,199,199,199,116,117,117,189,139,203,205,43,87,243,83,135,187,187,187,0,164,211,105,38,38,38,0,136,68,34,
204,206,206,210,209,209,193,201,201,9,145,72,196,112,184,185,185,105,108,253,253,253,125,121,19,213,14,205,205,205,13,66,8,194,225,176,81,20,96,113,113,145,199,199,71,172,86,43,118,187,221,200,133,195,
97,230,230,230,144,36,169,226,169,255,180,45,214,214,214,56,59,59,67,211,52,0,100,89,166,185,185,185,236,220,211,211,83,86,87,87,153,158,158,174,216,22,159,54,254,248,248,56,14,135,3,89,150,113,187,221,
132,66,33,100,89,54,24,10,133,112,187,221,200,178,140,195,225,96,124,124,252,191,53,190,170,170,204,207,207,115,120,120,200,208,208,16,217,108,246,221,246,42,138,194,240,240,48,154,166,209,211,211,67,
177,88,252,188,241,223,122,167,28,116,93,71,85,85,156,78,39,233,116,26,93,215,49,153,76,70,62,155,205,146,203,229,112,58,157,100,179,217,170,139,55,14,205,235,235,235,187,34,229,68,223,110,19,73,146,88,
95,95,55,114,23,23,23,232,186,78,58,157,174,42,84,42,149,126,10,218,108,54,46,47,47,105,106,106,250,229,103,195,249,249,249,111,63,53,174,174,174,176,217,108,40,61,61,61,236,237,237,209,223,223,79,67,
67,67,85,167,255,6,165,82,137,235,235,107,246,247,247,25,24,24,64,177,217,108,146,203,229,18,7,7,7,70,223,125,245,35,170,190,190,30,151,203,133,166,105,146,146,207,231,177,90,173,4,2,1,204,102,51,255,
7,242,249,60,233,116,154,231,231,103,254,6,176,226,184,25,246,84,84,12,0,0,0,0,73,69,78,68,174,66,96,130,0,0};

const char* EdoToolbar::stock_preferences_png = (const char*) resource_EdoToolbar_stock_preferences_png;
const int EdoToolbar::stock_preferences_pngSize = 992;

// JUCER_RESOURCE: stock_quit2_png, 1373, "../../Resources/Leopardish/gtk-2.0/icons/stock_quit2.png"
static const unsigned char resource_EdoToolbar_stock_quit2_png[] = { 137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,28,0,0,0,23,8,6,0,0,0,24,202,47,87,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,
6,98,75,71,68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,217,8,10,11,2,1,239,76,241,23,0,0,4,221,73,68,65,84,72,199,181,150,127,108,
83,85,20,199,63,239,199,198,214,149,17,187,206,77,96,108,108,209,42,1,9,8,99,168,97,49,18,135,26,227,248,195,104,34,113,35,83,162,68,9,51,4,137,38,186,16,81,9,132,249,35,36,250,23,1,21,4,2,25,26,77,80,
34,99,96,156,18,155,249,7,70,156,225,47,6,237,214,181,105,93,187,215,222,119,223,245,143,237,189,180,235,48,38,198,147,156,244,221,115,239,57,223,123,206,249,158,220,106,125,125,125,180,183,183,111,239,
232,232,232,77,38,147,40,165,152,41,134,97,16,12,6,105,108,108,164,166,166,6,195,48,0,144,82,18,141,70,185,118,237,26,177,88,12,41,101,145,175,166,105,204,155,55,143,195,135,15,119,247,245,245,189,15,
208,221,213,213,165,134,134,134,148,16,66,57,142,83,160,153,76,166,200,118,242,244,25,181,175,247,224,191,58,43,132,80,67,67,67,170,171,171,75,1,221,116,118,118,170,112,56,172,132,16,179,170,148,82,73,
41,149,109,219,158,110,218,188,85,45,91,221,90,96,115,207,221,42,78,56,28,86,157,157,157,202,140,199,227,132,66,161,162,114,232,186,142,166,105,56,142,51,101,80,10,52,13,0,191,223,71,101,165,191,160,252,
51,191,61,191,105,9,133,66,196,227,113,116,165,20,74,41,108,219,246,84,8,225,57,57,142,100,199,174,30,142,28,61,57,189,118,80,74,161,80,222,250,232,137,83,188,184,109,39,147,147,147,222,190,16,162,32,
166,139,163,207,4,147,82,162,235,186,23,108,243,150,237,124,115,246,28,139,22,206,207,3,156,202,216,93,215,215,213,113,233,199,65,158,121,118,139,103,211,117,29,41,101,17,168,14,32,132,64,8,65,46,151,
67,8,225,49,240,208,167,199,248,254,194,37,62,216,255,54,107,91,86,35,165,156,42,189,166,188,51,82,74,86,173,92,206,199,31,238,99,232,202,21,246,236,237,245,218,147,31,211,141,171,187,233,11,33,144,82,
98,24,6,82,74,210,233,52,7,62,250,132,141,79,62,202,3,107,155,145,82,226,56,14,82,74,148,154,106,169,155,141,148,146,149,203,151,209,185,233,105,142,28,59,65,52,58,90,16,203,141,95,148,161,109,219,222,
205,207,158,59,143,53,153,227,181,238,151,189,190,184,160,80,152,161,11,252,202,75,207,99,232,38,95,156,250,114,250,98,202,227,196,172,25,218,182,141,227,56,216,182,205,192,15,63,209,80,191,144,185,115,
253,94,22,238,47,76,177,213,5,114,237,37,37,38,75,66,119,242,243,229,95,188,178,230,3,42,165,48,1,114,185,28,0,166,105,122,206,145,232,40,213,193,0,66,8,116,93,47,160,124,38,51,73,38,61,137,109,219,104,
211,163,226,238,213,47,170,227,143,225,63,139,216,234,138,233,26,93,7,183,76,21,190,114,146,201,191,60,71,77,211,60,106,183,172,90,193,237,193,128,55,107,249,123,201,84,10,195,44,193,182,109,116,93,47,
0,44,202,208,113,28,15,124,233,61,119,243,249,241,211,5,65,93,167,199,54,60,236,141,80,62,160,166,105,92,249,237,119,90,90,86,121,217,231,114,185,130,12,11,72,147,205,102,177,44,11,165,20,143,172,111,
37,53,145,230,187,243,23,188,224,110,31,75,74,74,40,47,47,47,232,171,109,219,12,94,14,19,25,139,209,254,248,6,148,82,88,150,69,54,155,189,53,105,44,203,34,153,76,226,56,14,213,193,42,30,122,176,133,247,
246,31,244,70,38,95,243,201,34,165,68,3,118,191,123,128,123,151,46,33,116,87,211,84,121,147,73,44,203,250,231,177,200,100,50,88,150,133,227,56,236,218,177,141,210,146,82,186,119,190,69,60,158,40,98,171,
251,157,76,166,216,241,250,110,44,203,162,231,141,87,145,82,98,89,22,153,76,166,104,44,140,166,166,166,158,230,230,102,239,198,66,8,28,199,193,231,243,97,24,58,247,183,220,199,153,175,191,229,236,185,
126,202,203,203,49,76,29,148,134,149,203,18,141,142,114,57,252,43,123,123,15,114,243,230,40,123,122,118,82,183,96,1,0,177,88,140,137,137,137,130,209,25,28,28,156,34,77,126,83,1,18,137,4,115,230,204,161,
178,178,146,249,119,212,178,255,157,55,57,113,250,43,14,125,118,156,82,211,164,170,234,54,0,198,227,9,114,89,193,138,21,75,121,106,227,19,44,90,56,31,93,215,73,165,82,36,18,137,89,31,115,143,165,249,179,
6,112,227,198,13,178,217,44,193,96,144,234,96,128,173,47,60,71,219,250,86,70,70,110,146,154,152,0,5,126,127,5,243,107,107,104,106,108,192,52,13,116,93,103,108,108,140,241,241,241,162,231,206,101,187,25,
8,4,184,126,253,58,11,166,75,225,138,148,146,72,36,66,44,22,163,161,161,129,210,210,82,154,22,215,211,180,184,190,232,214,186,174,147,203,229,24,30,30,246,94,133,153,50,50,50,66,32,16,192,92,179,102,13,
253,253,253,172,91,183,142,218,218,218,162,76,109,219,230,234,213,171,148,149,149,81,85,85,69,69,69,69,193,127,154,116,58,205,248,248,184,55,78,51,197,113,28,34,145,8,3,3,3,180,182,182,98,6,2,1,173,173,
173,77,93,188,120,145,177,177,177,89,157,254,139,104,154,70,117,117,53,109,109,109,248,124,62,205,180,44,11,191,223,79,71,71,7,101,101,101,252,31,98,89,22,163,163,163,100,50,25,254,6,6,15,147,107,81,160,
192,157,0,0,0,0,73,69,78,68,174,66,96,130,0,0};

const char* EdoToolbar::stock_quit2_png = (const char*) resource_EdoToolbar_stock_quit2_png;
const int EdoToolbar::stock_quit2_pngSize = 1373;

// JUCER_RESOURCE: stock_delete_png, 753, "../../Resources/Leopardish/gtk-2.0/icons/stock_delete.png"
static const unsigned char resource_EdoToolbar_stock_delete_png[] = { 137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,28,0,0,0,23,8,6,0,0,0,24,202,47,87,0,0,0,6,98,75,71,68,0,255,0,255,0,255,160,189,
167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,215,10,27,13,12,57,245,47,26,95,0,0,2,126,73,68,65,84,72,199,181,150,77,75,27,81,20,134,159,27,103,161,49,104,29,
77,20,252,66,168,100,227,206,130,186,25,169,160,147,141,32,249,3,17,178,22,234,206,109,253,3,109,221,180,91,247,46,2,130,11,33,32,137,208,141,139,44,252,1,18,19,9,126,76,51,93,152,143,209,57,93,196,84,
218,170,185,109,147,23,206,108,230,114,158,251,222,123,230,156,81,169,84,138,181,181,181,119,137,68,226,131,235,186,136,8,237,148,82,138,254,254,126,118,119,119,55,83,169,212,71,128,205,100,50,41,185,
92,78,60,207,19,223,247,219,26,158,231,73,46,151,147,100,50,41,192,102,215,250,250,250,215,141,141,13,102,102,102,0,16,145,182,6,64,36,18,97,114,114,146,90,173,102,27,142,227,16,141,70,185,191,191,167,
147,138,70,163,56,142,131,209,220,201,221,221,29,157,150,136,52,128,58,176,66,161,192,201,201,9,197,98,145,124,62,15,192,196,196,4,195,195,195,204,207,207,51,54,54,166,7,4,240,60,239,217,69,134,97,176,
191,191,207,225,225,33,203,203,203,196,98,49,194,225,8,131,131,38,249,124,158,211,211,83,62,237,236,240,102,118,150,120,60,222,18,106,136,72,75,224,222,222,30,177,88,140,165,183,75,8,128,130,155,27,135,
222,222,16,43,43,43,4,131,189,124,249,242,153,213,213,213,255,119,216,211,211,131,239,251,28,28,28,224,186,46,211,175,167,121,53,48,64,64,41,156,242,55,206,207,207,201,102,50,180,218,184,182,195,74,165,
130,105,154,92,92,92,144,78,167,73,167,211,79,174,27,26,10,183,4,138,8,1,128,122,189,254,108,148,203,101,226,241,56,74,169,23,99,123,251,253,139,121,234,245,186,158,67,128,169,169,41,148,82,141,203,3,
148,2,132,198,125,62,60,43,149,138,126,149,54,233,47,41,16,8,52,187,99,131,43,160,16,64,33,162,151,3,104,93,52,143,77,56,208,112,198,35,183,9,83,74,175,96,180,143,180,217,245,127,1,254,38,157,28,90,159,
69,83,93,93,129,39,71,151,122,112,218,118,135,91,91,91,28,31,31,115,118,118,134,235,126,7,132,190,190,62,198,199,199,89,88,88,160,86,171,233,59,212,233,165,142,227,96,89,22,150,101,253,241,238,250,250,
90,187,129,255,172,210,199,42,124,94,165,82,233,159,39,133,239,251,13,160,105,154,20,10,5,70,71,71,59,58,154,138,197,34,166,105,98,204,205,205,113,116,116,132,101,89,140,140,140,104,57,253,91,103,165,
82,137,76,38,195,226,226,34,134,105,154,202,182,109,201,102,179,92,93,93,117,228,39,42,28,14,99,219,54,193,96,80,25,213,106,149,80,40,68,34,145,160,187,187,187,35,199,89,173,86,185,188,188,228,246,246,
150,31,151,206,243,165,185,216,242,232,0,0,0,0,73,69,78,68,174,66,96,130,0,0};

const char* EdoToolbar::stock_delete_png = (const char*) resource_EdoToolbar_stock_delete_png;
const int EdoToolbar::stock_delete_pngSize = 753;

// JUCER_RESOURCE: stock_add_png, 535, "../../Resources/Leopardish/gtk-2.0/icons/stock_add.png"
static const unsigned char resource_EdoToolbar_stock_add_png[] = { 137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,28,0,0,0,23,8,6,0,0,0,24,202,47,87,0,0,0,6,98,75,71,68,0,255,0,255,0,255,160,189,
167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,215,10,27,13,8,39,107,76,226,56,0,0,1,164,73,68,65,84,72,199,189,150,177,138,234,80,16,134,191,120,35,168,136,66,
32,65,176,176,176,8,136,173,88,8,90,166,245,13,162,164,22,174,15,97,189,247,13,68,240,1,242,8,162,200,109,243,8,22,17,197,72,192,70,162,209,156,45,150,93,16,46,187,154,107,28,152,98,134,115,206,55,255,
97,206,112,36,219,182,233,118,187,191,77,211,124,59,28,14,8,33,120,166,73,146,68,177,88,100,50,153,12,109,219,254,3,48,180,44,75,56,142,35,194,48,20,81,20,61,213,195,48,20,142,227,8,203,178,4,48,252,213,
235,245,254,14,6,3,234,245,58,0,66,136,167,58,128,166,105,84,42,21,78,167,147,33,251,190,143,174,235,92,175,87,146,52,93,215,241,125,31,249,179,146,203,229,66,210,38,132,248,0,190,2,246,5,4,8,195,240,
161,141,170,170,2,224,121,222,195,80,89,8,241,48,80,211,52,226,20,26,91,97,161,80,136,5,140,173,48,155,205,254,159,194,243,249,252,237,194,86,171,117,19,87,171,85,0,26,141,198,77,126,185,92,62,71,97,173,
86,187,43,255,211,57,119,43,156,78,167,55,113,191,223,7,96,60,30,223,228,247,251,253,207,10,239,169,108,179,217,220,196,233,116,250,159,249,196,154,230,19,248,178,103,33,203,242,107,159,197,104,52,2,192,
117,221,120,10,31,157,165,171,213,42,246,60,253,234,210,84,42,149,232,224,142,162,232,3,168,40,10,174,235,82,46,151,19,5,174,215,107,20,69,65,110,54,155,204,102,51,218,237,54,165,82,233,233,74,163,40,
98,187,221,50,159,207,233,116,58,200,138,162,72,134,97,136,197,98,129,231,121,137,124,162,84,85,197,48,12,114,185,156,36,7,65,64,62,159,199,52,77,50,153,76,34,215,25,4,1,187,221,142,227,241,200,59,67,
230,117,161,133,154,204,165,0,0,0,0,73,69,78,68,174,66,96,130,0,0};

const char* EdoToolbar::stock_add_png = (const char*) resource_EdoToolbar_stock_add_png;
const int EdoToolbar::stock_add_pngSize = 535;

// JUCER_RESOURCE: stock_find_png, 878, "../../Resources/Leopardish/gtk-2.0/icons/stock_find.png"
static const unsigned char resource_EdoToolbar_stock_find_png[] = { 137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,28,0,0,0,23,8,6,0,0,0,24,202,47,87,0,0,0,6,98,75,71,68,0,255,0,255,0,255,160,189,
167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,215,10,27,13,14,10,120,201,25,203,0,0,2,251,73,68,65,84,72,199,181,150,77,75,114,91,24,134,175,181,247,78,196,36,
67,80,210,130,192,12,147,157,84,16,4,13,106,208,64,168,73,163,166,6,142,131,211,63,56,255,224,188,127,161,65,115,37,162,73,244,229,224,208,7,102,136,52,49,104,96,216,23,82,65,97,45,247,90,103,240,146,
240,30,122,83,222,242,129,103,182,88,247,190,246,115,175,123,45,145,201,100,88,92,92,252,43,149,74,253,243,248,248,136,214,154,239,44,33,4,62,159,143,181,181,181,213,76,38,243,3,96,53,157,78,235,66,161,
160,165,148,90,41,245,173,45,165,212,133,66,65,167,211,105,13,172,154,203,203,203,255,174,172,172,48,58,58,10,128,214,250,91,27,32,24,12,50,56,56,200,235,235,107,210,170,213,106,196,98,49,28,199,161,147,
21,139,197,168,213,106,88,239,95,210,104,52,232,116,105,173,127,10,182,18,107,52,26,24,134,65,62,159,167,88,44,114,113,113,1,192,208,208,16,137,68,130,201,201,201,246,5,1,164,148,159,46,84,74,177,181,
181,197,230,230,38,142,227,160,148,2,224,230,230,134,195,195,67,170,213,42,201,100,18,33,68,75,81,75,107,221,82,240,228,228,132,108,54,139,199,227,97,98,98,130,120,60,14,192,249,249,57,167,167,167,100,
179,89,124,62,95,75,210,182,9,243,249,60,82,74,198,199,199,153,155,155,195,229,114,33,132,32,28,14,163,181,102,127,127,159,124,62,79,34,145,192,48,140,175,19,150,203,101,28,199,193,182,109,92,46,23,166,
105,2,224,114,185,176,109,155,157,157,29,202,229,50,82,202,79,5,155,132,111,111,111,45,77,163,148,66,8,129,82,170,57,67,173,53,134,97,160,148,162,209,104,80,175,215,177,44,235,235,132,161,80,136,135,135,
7,138,197,34,193,96,176,105,14,173,53,197,98,17,165,20,225,112,24,41,229,167,209,216,54,97,36,18,161,84,42,113,116,116,132,214,26,219,182,1,40,149,74,28,31,31,255,34,248,78,255,91,194,118,76,51,50,50,
210,60,2,219,219,219,236,238,238,2,224,56,78,51,161,206,206,206,24,27,27,163,187,187,251,211,189,204,104,52,250,247,244,244,116,115,54,31,181,105,154,4,131,65,188,94,47,74,41,158,159,159,17,66,48,48,48,
128,109,219,60,61,61,113,127,127,207,229,229,37,195,195,195,152,166,249,225,62,185,92,174,61,66,0,183,219,77,60,30,39,26,141,226,56,206,207,121,88,22,166,105,18,137,68,200,100,50,84,42,21,214,215,215,
89,90,90,194,227,241,252,185,105,222,171,171,171,11,203,178,126,49,134,16,130,158,158,30,22,22,22,216,216,216,160,90,173,54,73,127,107,154,175,4,247,251,209,232,237,237,101,126,126,158,106,181,74,40,20,
66,74,249,97,212,53,93,218,42,33,90,149,97,24,4,2,1,2,129,64,211,80,255,207,99,0,203,239,247,83,169,84,232,239,239,239,232,213,116,117,117,133,223,239,199,154,154,154,98,111,111,143,153,153,25,250,250,
250,190,76,250,209,77,115,125,125,205,193,193,1,179,179,179,88,126,191,95,36,147,73,157,203,229,184,187,187,235,200,35,42,16,8,144,76,38,241,120,60,194,170,215,235,120,189,94,82,169,20,110,183,187,35,
191,179,94,175,115,123,123,203,203,203,11,255,1,240,146,65,222,211,91,111,133,0,0,0,0,73,69,78,68,174,66,96,130,0,0};

const char* EdoToolbar::stock_find_png = (const char*) resource_EdoToolbar_stock_find_png;
const int EdoToolbar::stock_find_pngSize = 878;

// JUCER_RESOURCE: stock_save_png, 919, "../../Resources/Leopardish/gtk-2.0/icons/stock_save.png"
static const unsigned char resource_EdoToolbar_stock_save_png[] = { 137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,28,0,0,0,23,8,6,0,0,0,24,202,47,87,0,0,0,6,98,75,71,68,0,255,0,255,0,255,160,189,
167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,215,10,27,13,58,39,134,60,182,73,0,0,3,36,73,68,65,84,72,199,181,150,177,79,98,89,20,198,127,247,222,135,60,129,
21,2,139,113,98,118,40,177,96,77,44,140,177,145,146,56,219,24,59,43,76,168,77,214,194,127,195,221,106,182,177,177,54,38,196,153,194,196,152,24,77,152,22,58,147,29,59,141,4,12,40,48,111,31,190,199,187,
91,8,196,85,112,137,209,147,220,215,220,147,239,220,239,156,239,156,243,68,62,159,103,101,101,229,247,108,54,251,199,221,221,29,90,107,222,210,132,16,132,195,97,118,119,119,55,243,249,252,159,0,155,185,
92,78,23,139,69,237,56,142,246,60,239,77,143,227,56,186,88,44,234,92,46,167,129,77,181,190,190,254,109,99,99,131,84,42,5,128,214,250,77,15,192,228,228,36,137,68,130,118,187,157,49,106,181,26,201,100,146,
78,167,195,123,90,50,153,164,86,171,97,244,94,226,186,238,51,167,122,189,206,246,246,54,215,215,215,72,41,71,2,150,82,178,182,182,70,58,157,126,118,167,181,126,8,56,40,24,192,254,254,62,7,7,7,204,206,
206,50,63,63,207,196,196,196,208,76,140,141,141,81,42,149,56,63,63,103,107,107,139,66,161,48,56,32,128,227,56,3,65,26,141,6,137,68,130,185,185,57,86,87,87,9,135,195,253,186,8,33,254,83,115,211,52,137,
197,98,248,124,62,142,142,142,134,98,26,90,235,161,151,74,41,92,215,165,221,110,211,106,181,48,12,99,96,219,120,158,135,235,186,88,150,197,253,253,61,195,72,252,47,195,199,117,145,82,246,89,13,122,216,
83,159,87,49,20,66,244,1,122,96,195,6,195,83,81,189,200,176,151,134,65,1,31,139,34,16,8,12,13,104,154,38,126,191,31,173,53,158,231,13,197,124,145,225,227,148,237,237,237,161,181,126,198,82,107,141,97,
24,248,253,126,26,141,6,157,78,7,199,113,94,199,176,151,70,165,20,149,74,133,143,31,127,233,7,245,188,78,215,71,81,173,86,169,84,108,148,82,8,33,144,82,14,103,248,82,129,93,215,197,117,93,154,205,38,161,
80,136,84,234,87,14,15,15,137,68,34,44,47,47,35,132,192,52,253,20,10,223,40,149,74,152,166,9,221,186,191,74,52,182,109,227,121,186,207,180,94,175,97,219,54,245,122,157,31,63,90,248,124,190,110,170,60,
68,183,230,242,5,149,142,212,22,82,244,4,36,81,82,245,197,164,164,194,48,124,24,74,161,1,217,75,167,120,104,143,87,49,4,232,120,30,129,64,16,165,20,83,31,62,16,12,6,9,135,35,252,28,143,63,244,158,82,132,
66,63,97,154,38,227,227,227,163,53,254,176,89,250,233,183,79,124,254,235,51,74,73,148,50,184,185,169,114,239,56,220,220,84,217,217,217,65,107,141,82,138,139,139,11,170,149,10,129,96,16,203,250,7,41,229,
80,204,190,74,7,109,131,242,117,153,227,227,99,190,126,249,74,44,22,67,0,186,251,125,186,122,148,82,220,222,222,210,106,181,88,92,92,196,178,172,103,227,15,192,136,70,163,92,94,94,50,61,61,61,240,69,223,
255,254,206,204,204,204,72,171,41,18,137,0,208,108,54,159,221,93,93,93,17,141,70,49,22,22,22,56,57,57,97,105,105,137,169,169,169,145,247,222,168,230,121,30,229,114,153,211,211,83,210,233,52,70,52,26,21,
153,76,70,159,157,157,81,173,86,223,229,39,42,30,143,147,201,100,8,4,2,194,176,109,155,80,40,68,54,155,125,104,220,119,48,219,182,169,84,42,88,150,197,191,81,132,59,255,113,34,206,66,0,0,0,0,73,69,78,
68,174,66,96,130,0,0};

const char* EdoToolbar::stock_save_png = (const char*) resource_EdoToolbar_stock_save_png;
const int EdoToolbar::stock_save_pngSize = 919;

// JUCER_RESOURCE: stock_refresh_png, 827, "../../Resources/Leopardish/gtk-2.0/icons/stock_refresh.png"
static const unsigned char resource_EdoToolbar_stock_refresh_png[] = { 137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,28,0,0,0,23,8,6,0,0,0,24,202,47,87,0,0,0,6,98,75,71,68,0,255,0,255,0,255,160,
189,167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,215,10,27,13,23,14,228,164,116,202,0,0,2,200,73,68,65,84,72,199,181,150,177,75,35,65,20,135,191,228,162,196,
108,208,100,37,42,90,152,66,13,130,16,172,34,17,162,133,24,44,130,1,79,69,16,162,164,22,79,176,16,177,243,15,184,171,236,45,44,20,148,96,161,130,162,49,130,103,97,145,90,176,16,20,68,205,162,217,36,38,
89,205,92,113,120,112,87,152,241,48,63,120,205,238,188,121,243,123,124,111,119,76,177,88,140,112,56,252,45,18,137,124,127,122,122,66,8,193,103,202,100,50,81,87,87,199,234,234,234,92,44,22,251,1,48,23,
141,70,69,50,153,20,134,97,136,82,169,244,169,97,24,134,72,38,147,34,26,141,10,96,238,203,212,212,212,207,153,153,25,186,186,186,0,16,66,124,106,0,52,52,52,208,218,218,74,161,80,8,90,52,77,195,227,241,
240,250,250,74,37,229,241,120,208,52,13,203,219,73,94,94,94,168,180,132,16,191,11,254,79,177,254,254,126,54,55,55,169,175,175,255,80,65,51,128,97,24,31,142,171,171,43,124,62,31,235,235,235,210,57,0,102,
33,132,116,194,246,246,54,3,3,3,180,181,181,225,112,56,80,20,133,165,165,37,38,39,39,121,120,120,40,155,47,132,192,242,230,176,156,150,151,151,217,217,217,65,81,20,154,155,155,255,60,183,217,108,92,94,
94,178,178,178,194,252,252,124,217,125,44,111,14,223,211,209,209,17,199,199,199,184,221,110,22,23,23,241,122,189,132,66,33,0,198,199,199,9,135,195,216,237,118,10,133,66,121,104,0,138,197,226,187,11,119,
119,119,113,58,157,44,44,44,208,217,217,73,38,147,33,20,10,49,242,117,4,167,195,201,243,243,51,186,174,75,129,35,229,80,211,52,170,170,170,112,187,221,100,50,25,0,166,167,167,201,229,114,60,62,62,126,
108,44,100,28,42,138,66,54,155,69,215,117,170,171,171,1,72,165,82,0,100,179,89,70,71,71,177,90,173,108,109,109,149,119,40,3,77,119,119,55,103,103,103,236,239,239,51,56,56,248,215,187,120,60,142,215,235,
165,167,167,71,10,62,169,150,250,253,126,206,207,207,217,219,219,163,88,44,18,8,4,0,72,36,18,28,30,30,226,112,56,232,237,237,45,187,143,244,88,212,214,214,50,49,49,193,198,198,6,7,7,7,172,173,173,1,208,
216,216,136,203,229,98,108,108,76,138,82,105,135,134,97,208,222,222,206,236,236,44,167,167,167,92,92,92,0,208,209,209,129,223,239,71,81,20,210,233,180,60,52,50,223,210,84,42,69,77,77,13,67,67,67,12,15,
15,243,6,91,58,157,70,211,52,105,82,255,80,106,54,155,203,46,214,117,93,122,222,254,85,169,84,250,93,80,85,85,174,175,175,105,105,105,169,232,175,233,230,230,6,85,85,177,248,124,62,226,241,56,129,64,128,
166,166,38,41,167,31,117,118,123,123,75,34,145,160,175,175,15,139,170,170,166,96,48,40,78,78,78,184,191,191,175,200,37,202,229,114,17,12,6,177,217,108,38,75,62,159,199,110,183,19,137,68,176,90,173,21,
105,103,62,159,231,238,238,142,92,46,199,47,176,123,86,121,241,245,82,165,0,0,0,0,73,69,78,68,174,66,96,130,0,0};

const char* EdoToolbar::stock_refresh_png = (const char*) resource_EdoToolbar_stock_refresh_png;
const int EdoToolbar::stock_refresh_pngSize = 827;

// JUCER_RESOURCE: stock_open_png, 863, "../../Resources/Leopardish/gtk-2.0/icons/stock_open.png"
static const unsigned char resource_EdoToolbar_stock_open_png[] = { 137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,28,0,0,0,23,8,6,0,0,0,24,202,47,87,0,0,0,6,98,75,71,68,0,255,0,255,0,255,160,189,
167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,215,10,27,13,40,40,110,119,219,11,0,0,2,236,73,68,65,84,72,199,181,150,177,75,43,75,20,198,127,179,187,9,34,65,33,
24,17,44,4,65,146,128,189,157,22,22,169,222,197,198,141,98,177,106,236,52,242,76,26,5,177,176,18,11,159,141,133,141,32,106,12,9,222,27,146,127,64,180,184,109,90,59,11,133,220,136,11,34,145,77,54,238,188,
42,203,203,51,185,198,139,30,24,14,187,51,123,206,124,223,57,223,204,138,92,46,199,212,212,212,223,134,97,252,243,244,244,132,148,146,207,52,33,4,189,189,189,28,31,31,175,229,114,185,125,128,181,88,44,
38,139,197,162,180,109,91,58,142,243,169,195,182,109,89,44,22,101,44,22,147,192,154,58,63,63,255,51,30,143,51,58,58,10,128,148,242,83,7,64,127,127,63,67,67,67,84,171,213,136,102,154,38,193,96,144,215,
215,87,190,210,130,193,32,166,105,162,53,118,82,175,215,63,28,68,74,201,238,238,46,166,105,114,123,123,75,58,157,110,170,93,171,245,218,159,38,3,88,94,94,230,224,224,192,125,54,12,131,163,163,35,182,183,
183,217,218,218,106,157,16,192,182,237,119,59,173,85,247,238,239,239,55,125,123,120,120,200,236,236,44,161,80,168,109,76,77,74,217,118,82,85,85,22,22,22,0,24,30,30,102,115,115,211,77,44,165,108,162,77,
74,201,222,222,30,125,125,125,244,244,244,180,140,249,46,194,165,165,37,166,167,167,209,117,157,76,38,195,226,226,98,203,117,35,35,35,36,18,9,226,241,184,251,238,195,8,85,85,5,32,26,141,146,201,100,136,
70,163,8,33,220,228,255,245,59,59,59,239,150,165,9,97,173,86,123,187,19,77,67,8,65,54,155,69,215,117,46,46,46,152,155,155,35,157,78,191,241,143,143,143,45,99,252,17,194,153,153,25,82,169,20,186,174,115,
122,122,74,54,155,229,252,252,28,192,245,0,27,27,27,120,60,30,158,159,159,241,249,124,120,189,94,214,215,215,59,71,232,241,120,0,56,59,59,227,219,95,223,56,57,57,225,199,143,239,132,66,225,55,107,29,199,
113,165,21,8,4,40,151,203,36,18,137,214,204,181,43,112,35,200,228,228,36,169,243,20,249,124,158,80,40,244,70,30,141,131,67,81,20,16,130,95,165,18,201,100,242,227,77,99,89,22,142,227,80,40,20,40,20,10,
132,195,33,132,80,90,106,20,41,65,8,74,165,18,241,120,188,109,178,223,202,162,86,171,33,132,32,159,207,19,14,135,27,209,81,254,119,100,57,210,65,40,10,117,219,102,117,117,245,221,230,105,139,176,82,169,
184,194,190,185,185,105,154,83,20,197,165,189,97,201,100,146,74,165,210,153,44,90,157,165,245,122,157,149,149,149,38,234,188,94,47,170,170,186,13,101,219,182,123,203,84,171,213,206,100,209,160,175,177,
235,223,89,39,226,110,103,13,54,52,191,223,207,221,221,29,131,131,131,95,122,31,222,223,223,227,247,251,209,198,198,198,184,188,188,100,124,124,156,129,129,129,142,144,126,20,89,169,84,226,234,234,138,
137,137,9,52,191,223,47,34,145,136,188,190,190,230,225,225,225,75,126,162,2,129,0,145,72,132,238,238,110,161,89,150,133,207,231,195,48,12,186,186,186,190,132,78,203,178,40,151,203,188,188,188,240,47,9,
41,44,158,168,123,43,135,0,0,0,0,73,69,78,68,174,66,96,130,0,0};

const char* EdoToolbar::stock_open_png = (const char*) resource_EdoToolbar_stock_open_png;
const int EdoToolbar::stock_open_pngSize = 863;

// JUCER_RESOURCE: stock_new_png, 798, "../../Resources/Leopardish/gtk-2.0/icons/stock_new.png"
static const unsigned char resource_EdoToolbar_stock_new_png[] = { 137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,28,0,0,0,23,8,6,0,0,0,24,202,47,87,0,0,0,6,98,75,71,68,0,255,0,255,0,255,160,189,
167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,215,10,27,13,38,3,92,72,15,197,0,0,2,171,73,68,65,84,72,199,181,86,191,75,35,65,20,254,102,103,50,187,136,16,89,
136,8,41,44,3,98,173,160,160,141,176,216,9,86,54,70,72,101,33,156,248,135,220,53,34,150,182,86,41,44,44,69,139,107,211,157,149,149,158,162,16,178,69,146,157,157,204,155,171,102,201,122,183,27,207,31,15,
94,51,236,190,239,125,239,125,239,205,176,118,187,141,173,173,173,111,205,102,243,123,28,199,176,214,226,51,141,49,134,106,181,138,179,179,179,195,118,187,253,3,0,14,91,173,150,237,116,58,86,107,109,137,
232,83,93,107,109,59,157,142,109,181,90,22,192,33,223,219,219,251,121,112,112,128,197,197,69,0,128,181,246,83,29,0,102,103,103,49,63,63,15,165,84,36,186,221,46,26,141,6,140,49,133,101,113,63,50,198,242,
231,68,96,158,247,166,210,54,26,13,116,187,93,8,151,201,104,52,42,4,219,217,217,65,173,86,3,17,229,122,67,68,184,187,187,195,209,209,17,54,54,54,254,74,232,95,177,68,25,152,179,133,133,5,236,238,238,130,
115,158,99,75,68,56,61,61,197,201,201,9,164,148,88,89,89,41,5,181,214,66,0,128,214,186,84,101,68,4,165,20,210,52,205,122,195,57,71,28,199,232,245,122,216,220,220,196,249,249,57,180,214,88,93,93,45,77,
94,88,107,39,2,190,206,210,90,11,99,12,164,148,8,130,0,151,151,151,152,153,153,193,241,241,49,150,150,150,62,206,144,49,150,129,184,62,18,17,140,49,216,222,222,134,82,10,82,74,92,92,92,148,198,122,19,
67,103,14,192,1,43,165,160,181,134,181,22,68,4,206,57,42,149,74,105,172,140,97,154,166,133,31,113,206,51,64,173,117,206,93,16,55,82,190,239,151,198,122,19,67,206,57,136,8,195,225,16,253,126,31,68,4,34,
202,196,68,68,153,114,7,131,193,199,25,10,33,96,140,65,146,36,185,241,25,7,115,128,90,235,201,12,39,137,102,56,28,102,253,51,198,100,2,114,25,59,17,57,224,15,139,70,74,153,3,244,60,47,7,232,220,149,121,
92,201,239,26,139,241,225,119,62,190,95,95,47,106,39,174,119,51,84,74,129,115,129,106,181,138,32,8,114,64,227,9,249,190,143,74,165,2,165,84,225,69,144,49,44,219,165,74,41,220,222,254,194,227,227,239,194,
82,1,128,231,121,136,227,24,74,169,201,162,73,211,20,94,193,53,19,199,49,246,247,247,33,165,204,206,124,223,47,92,210,189,94,175,112,113,0,128,8,195,16,247,247,247,168,215,235,133,89,25,99,114,101,239,
247,251,255,253,212,120,120,120,64,24,134,16,203,203,203,184,186,186,194,218,218,26,230,230,230,10,153,190,215,136,8,79,79,79,184,190,190,198,250,250,58,68,24,134,44,138,34,123,115,115,131,151,151,151,
47,121,68,213,106,53,68,81,132,169,169,41,38,146,36,193,244,244,52,154,205,38,130,32,192,87,88,146,36,120,126,126,198,96,48,192,31,65,29,154,2,115,72,23,161,0,0,0,0,73,69,78,68,174,66,96,130,0,0};

const char* EdoToolbar::stock_new_png = (const char*) resource_EdoToolbar_stock_new_png;
const int EdoToolbar::stock_new_pngSize = 798;

// JUCER_RESOURCE: stock_person_png, 750, "../../Resources/Leopardish/gtk-2.0/icons/stock_person.png"
static const unsigned char resource_EdoToolbar_stock_person_png[] = { 137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,28,0,0,0,23,8,6,0,0,0,24,202,47,87,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,
6,98,75,71,68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,217,8,11,7,36,49,187,237,220,158,0,0,2,110,73,68,65,84,72,199,181,150,61,
75,35,81,20,134,159,123,119,4,81,65,13,26,140,130,10,22,41,180,16,44,162,133,96,35,219,137,63,64,136,144,198,70,88,255,136,187,165,149,31,165,63,64,172,132,128,69,44,135,96,227,87,53,81,193,192,96,62,
64,205,189,51,103,11,137,16,204,174,51,33,30,56,197,189,151,247,125,207,123,231,204,156,81,188,199,175,108,54,251,187,82,169,32,34,116,51,148,82,12,14,14,114,116,116,180,3,252,1,216,201,229,114,226,186,
174,24,99,36,12,195,174,166,49,70,92,215,149,92,46,39,192,206,143,205,205,205,194,246,246,54,115,115,115,0,136,72,87,19,32,153,76,50,53,53,197,219,219,219,79,199,247,125,210,233,52,65,16,68,190,166,82,
169,132,181,150,233,233,233,200,152,116,58,141,239,251,56,205,74,172,181,95,130,158,159,159,57,62,62,230,242,242,18,0,199,113,216,216,216,96,97,97,33,146,168,136,188,11,70,17,3,216,221,221,197,247,253,
143,181,49,134,131,131,3,134,135,135,153,156,156,140,38,216,4,126,21,149,74,133,122,189,78,24,134,159,206,238,238,238,72,165,82,145,138,118,68,36,146,96,79,79,15,34,210,86,208,90,27,137,35,150,195,102,
199,181,19,84,74,69,226,136,229,176,233,162,157,224,203,203,75,60,135,141,70,35,82,117,51,51,51,20,139,197,22,103,90,107,146,201,100,100,142,200,14,1,214,214,214,112,93,183,101,111,100,100,132,177,177,
177,239,113,216,116,121,115,115,243,177,94,92,92,140,133,143,220,52,0,215,215,215,92,93,93,181,236,157,158,158,146,74,165,232,239,239,239,222,149,122,158,135,235,186,220,222,222,126,106,154,122,189,206,
254,254,62,179,179,179,44,45,45,225,56,78,231,175,69,173,86,227,228,228,132,199,199,199,255,22,84,173,86,41,20,10,92,92,92,176,178,178,194,252,252,124,124,135,213,106,149,195,195,195,216,243,239,236,236,
140,135,135,7,86,87,87,255,237,176,221,183,180,92,46,19,134,33,74,169,88,67,89,41,69,173,86,163,209,104,160,181,110,223,52,237,14,173,181,12,13,13,117,52,229,251,250,250,176,214,182,112,54,159,189,147,
72,36,40,149,74,76,76,76,180,128,198,199,199,89,95,95,239,72,80,107,141,136,180,204,216,251,251,123,18,137,4,58,147,201,144,207,231,241,60,15,99,12,65,16,16,4,1,34,130,214,186,163,4,62,120,140,49,120,
158,71,62,159,39,147,201,160,0,246,246,246,228,252,252,156,114,185,252,45,63,81,163,163,163,44,47,47,179,181,181,165,28,128,129,129,1,178,217,44,189,189,189,124,71,188,190,190,242,244,244,4,192,95,253,
107,252,59,188,203,183,227,0,0,0,0,73,69,78,68,174,66,96,130,0,0};

const char* EdoToolbar::stock_person_png = (const char*) resource_EdoToolbar_stock_person_png;
const int EdoToolbar::stock_person_pngSize = 750;

// JUCER_RESOURCE: stock_invader_png, 1197, "../../Resources/Leopardish/gtk-2.0/icons/stock_invader.png"
static const unsigned char resource_EdoToolbar_stock_invader_png[] = { 137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,28,0,0,0,23,8,6,0,0,0,24,202,47,87,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,
0,6,98,75,71,68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,217,8,12,14,8,56,105,6,12,162,0,0,4,45,73,68,65,84,72,199,173,150,207,
107,19,91,20,199,63,119,154,164,105,16,196,96,87,253,3,186,232,90,34,130,34,184,16,193,133,91,87,173,100,35,180,136,130,80,241,31,48,40,246,61,208,133,224,74,212,109,17,23,210,93,171,110,92,184,104,65,
186,169,46,180,152,210,31,164,49,201,76,230,254,126,11,153,251,58,77,83,144,247,46,92,38,115,230,220,243,61,103,206,247,124,51,130,223,235,246,244,244,244,95,191,126,253,194,123,207,255,185,132,16,156,
60,121,146,23,47,94,220,1,254,6,184,83,175,215,253,234,234,170,215,90,123,231,156,119,206,121,41,165,127,240,224,129,175,215,235,62,73,146,96,31,182,181,214,254,225,195,135,254,198,141,27,94,74,153,179,
175,174,174,250,122,189,238,129,59,133,153,153,153,133,217,217,89,166,166,166,0,176,214,134,235,219,183,111,1,232,118,187,104,173,25,27,27,67,8,49,80,133,82,10,173,53,75,75,75,24,99,112,206,133,56,0,83,
83,83,204,206,206,98,173,93,40,180,90,45,38,39,39,115,14,0,81,20,177,188,188,12,64,171,213,34,73,18,0,70,71,71,7,192,62,127,254,140,148,146,119,239,222,5,251,225,120,147,147,147,180,90,45,10,222,123,188,
247,24,99,114,14,222,123,148,82,0,56,231,16,66,16,199,49,90,235,92,159,149,82,236,239,239,163,148,162,211,233,0,80,169,84,142,236,167,247,254,55,224,97,48,128,36,73,66,150,198,24,172,181,56,231,216,223,
223,15,0,74,41,210,52,13,251,229,203,151,72,41,153,153,153,57,18,212,123,79,1,64,107,61,240,80,107,205,214,214,22,213,106,21,99,12,90,107,180,214,180,90,45,218,237,54,82,74,210,52,13,215,52,77,67,18,153,
239,81,171,224,189,31,10,184,189,189,205,232,232,40,213,106,149,98,177,200,218,218,26,187,187,187,116,58,29,164,148,72,41,233,245,122,204,205,205,145,166,41,11,11,11,185,228,254,168,66,239,61,123,123,
123,180,219,109,46,92,184,128,214,154,78,167,195,206,206,14,73,146,4,192,36,73,66,95,251,253,62,90,107,162,40,250,179,10,31,63,126,76,169,84,194,90,139,181,150,90,173,70,161,80,224,199,143,31,108,109,
109,97,173,13,125,149,82,162,181,198,24,67,28,199,24,99,152,159,159,167,223,239,211,104,52,40,151,203,131,21,102,108,60,248,58,157,115,24,99,194,92,41,165,104,54,155,164,105,26,236,25,96,118,62,73,146,
96,183,214,18,69,209,64,108,113,229,202,21,223,104,52,0,120,242,228,9,35,35,35,40,165,194,65,99,12,82,74,140,49,8,33,56,125,250,116,168,40,75,38,75,34,155,191,140,209,89,226,207,159,63,7,224,222,189,123,
249,10,187,221,46,165,82,137,52,77,195,72,100,135,182,183,183,81,74,177,183,183,199,248,248,56,66,8,180,214,1,32,3,207,84,38,3,181,214,230,170,204,145,38,163,248,252,252,60,90,107,26,141,6,198,152,64,
127,128,56,142,137,227,152,74,165,18,84,231,48,192,253,251,247,169,86,171,220,186,117,139,195,164,204,145,38,77,83,178,251,78,167,19,102,171,221,110,15,176,173,215,235,209,235,245,16,66,80,44,22,241,222,
227,156,195,123,79,165,82,33,138,34,156,115,57,192,129,177,144,82,134,119,175,181,38,73,18,186,221,46,119,239,222,165,88,44,30,251,55,100,140,225,209,163,71,225,247,65,9,28,90,161,82,10,107,109,0,204,
180,241,212,169,83,148,74,37,162,40,26,170,145,25,169,178,132,11,133,194,0,160,247,30,113,249,242,101,63,55,55,119,108,246,27,27,27,124,255,254,157,115,231,206,13,104,164,181,150,245,245,117,190,125,251,
198,181,107,215,142,141,243,244,233,211,127,89,58,44,123,128,87,175,94,17,199,49,103,206,156,25,16,122,107,45,175,95,191,198,57,199,213,171,87,135,198,200,250,41,174,95,191,238,207,158,61,203,196,196,
196,80,231,110,183,203,200,200,8,205,102,147,175,95,191,114,241,226,69,202,229,50,95,190,124,161,217,108,114,233,210,37,148,82,140,141,141,13,141,241,243,231,79,62,125,250,68,84,171,213,88,89,89,97,115,
115,51,55,87,7,119,54,2,111,222,188,225,195,135,15,193,111,113,113,145,247,239,223,3,228,164,240,224,214,90,179,185,185,201,202,202,10,181,90,13,1,240,236,217,51,255,241,227,71,118,119,119,143,253,136,
202,88,92,46,151,17,66,208,239,247,17,66,228,244,242,168,143,168,241,241,113,206,159,63,207,205,155,55,69,1,224,196,137,19,76,79,79,31,123,240,191,172,52,77,217,217,217,1,224,31,163,185,202,197,1,10,164,
188,0,0,0,0,73,69,78,68,174,66,96,130,0,0};

const char* EdoToolbar::stock_invader_png = (const char*) resource_EdoToolbar_stock_invader_png;
const int EdoToolbar::stock_invader_pngSize = 1197;

// JUCER_RESOURCE: stock_gadu_png, 1603, "../../Resources/Leopardish/gtk-2.0/icons/stock_gadu.png"
static const unsigned char resource_EdoToolbar_stock_gadu_png[] = { 137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,28,0,0,0,23,8,6,0,0,0,24,202,47,87,0,0,0,1,115,82,71,66,0,174,206,28,233,0,0,0,6,
98,75,71,68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,11,19,0,0,11,19,1,0,154,156,24,0,0,0,7,116,73,77,69,7,217,8,10,13,32,18,200,205,138,91,0,0,5,195,73,68,65,84,72,199,181,149,219,
75,84,111,23,199,63,179,183,51,233,204,224,88,121,158,82,72,157,177,131,144,21,106,13,133,8,29,238,236,42,12,42,35,49,130,8,236,31,8,34,232,246,125,161,174,186,16,178,46,58,8,77,20,214,77,102,25,190,70,
10,211,65,52,203,242,144,18,58,142,121,218,231,61,207,239,34,220,175,147,213,123,245,46,88,236,253,172,189,246,247,217,235,89,223,245,221,174,104,52,202,209,163,71,91,26,27,27,255,53,63,63,143,16,130,
191,153,36,73,248,124,62,116,93,71,211,52,36,73,250,107,190,203,229,34,16,8,112,243,230,205,139,209,104,244,223,0,23,155,154,154,68,44,22,19,166,105,138,100,50,249,87,31,27,27,19,45,45,45,226,204,153,
51,226,229,203,151,255,51,223,52,77,17,139,197,68,83,83,147,0,46,202,167,79,159,254,207,133,11,23,216,177,99,7,0,66,8,132,16,88,150,197,244,244,52,94,175,215,137,233,186,206,204,204,12,111,222,188,65,
215,117,202,202,202,40,40,40,64,150,101,39,167,167,167,135,252,252,124,7,11,32,55,55,151,226,226,98,116,93,63,156,150,72,36,8,135,195,216,182,237,28,131,109,219,140,142,142,146,72,36,136,199,227,148,149,
149,209,211,211,195,251,247,239,25,25,25,65,81,20,226,241,56,151,46,93,98,211,166,77,84,85,85,113,254,252,121,218,218,218,104,109,109,165,182,182,150,203,151,47,227,241,120,28,204,112,56,76,34,145,32,
109,117,69,43,166,105,26,139,139,139,24,134,193,240,240,48,189,189,189,44,45,45,49,53,53,69,105,105,41,91,182,108,97,121,121,153,129,129,1,158,63,127,78,52,26,229,238,221,187,200,178,140,219,237,230,213,
171,87,204,205,205,177,113,227,198,148,126,10,33,126,110,184,122,51,128,180,180,52,242,242,242,248,240,225,3,166,105,178,188,188,76,40,20,226,212,169,83,100,102,102,34,132,64,146,36,26,26,26,80,85,149,
7,15,30,112,253,250,117,44,203,194,237,118,115,229,202,21,2,129,192,26,92,33,4,105,0,166,105,174,97,151,223,239,103,113,113,145,120,60,78,109,109,45,193,96,16,33,4,139,139,139,184,92,46,36,73,114,174,
245,245,245,84,87,87,115,226,196,9,84,85,165,162,162,226,183,152,0,146,16,2,211,52,215,248,167,79,159,80,20,133,96,48,72,78,78,14,134,97,96,219,54,150,101,97,154,38,134,97,96,89,22,150,101,97,24,6,217,
217,217,156,59,119,14,89,150,105,107,107,251,45,166,16,2,105,165,194,213,110,24,6,227,227,227,204,206,206,82,84,84,132,174,235,88,150,197,187,119,239,24,30,30,198,48,12,76,211,100,116,116,148,254,254,
126,84,85,69,215,117,14,31,62,140,219,237,118,98,191,226,2,63,123,184,178,152,155,155,227,199,143,31,88,150,197,212,212,20,138,162,144,149,149,133,97,24,124,255,254,157,215,175,95,19,12,6,9,4,2,100,100,
100,208,222,222,78,101,101,37,67,67,67,132,195,97,188,94,47,123,246,236,161,175,175,143,103,207,158,225,241,120,40,40,40,160,164,164,36,181,135,134,97,0,48,52,52,196,216,216,24,166,105,162,40,10,235,215,
175,119,142,50,59,59,27,33,4,170,170,178,242,78,121,121,57,131,131,131,28,59,118,12,203,178,208,52,141,146,146,18,58,59,59,185,113,227,6,0,187,118,237,162,165,165,229,191,132,92,93,161,170,170,36,18,9,
76,211,100,126,126,158,140,140,12,231,184,146,201,36,7,15,30,68,8,193,138,4,150,150,150,18,10,133,152,157,157,101,126,126,30,175,215,235,124,188,219,237,70,8,193,186,117,235,28,252,53,21,134,66,33,10,
11,11,177,44,139,39,79,158,240,237,219,55,108,219,102,105,105,137,217,217,89,54,111,222,236,232,163,203,229,66,8,129,109,219,124,252,248,145,80,40,132,170,170,140,140,140,144,147,147,67,115,115,51,30,
143,135,204,204,76,7,31,72,37,141,199,227,97,195,134,13,228,230,230,146,149,149,197,224,224,32,51,51,51,248,253,126,222,190,125,155,162,70,43,102,154,38,3,3,3,200,178,140,97,24,196,98,49,138,138,138,40,
46,46,166,176,176,16,191,223,159,66,154,63,142,69,69,69,5,11,11,11,116,118,118,34,132,160,178,178,146,123,247,238,209,223,223,143,166,105,40,138,66,79,79,15,183,110,221,162,166,166,134,100,50,73,119,119,
55,186,174,179,119,239,94,103,124,126,29,139,63,14,126,126,126,62,69,69,69,116,116,116,176,125,251,118,194,225,48,39,79,158,164,175,175,143,214,214,86,0,246,237,219,199,217,179,103,177,44,139,120,60,206,
253,251,247,9,6,131,148,150,150,254,113,240,83,72,179,90,130,30,61,122,196,200,200,8,146,36,113,245,234,85,234,235,235,57,116,232,16,145,72,132,72,36,226,228,45,44,44,208,213,213,69,123,123,59,46,151,
139,175,95,191,242,244,233,83,234,234,234,112,185,92,191,151,182,95,53,111,114,114,146,142,142,14,135,105,7,14,28,32,26,141,242,248,241,99,66,161,16,91,183,110,69,150,101,190,124,249,226,244,118,247,238,
221,196,98,49,100,89,230,225,195,135,236,220,185,147,64,32,176,182,194,21,150,174,254,115,231,229,229,81,87,87,199,139,23,47,104,110,110,166,188,188,156,72,36,66,119,119,55,159,63,127,230,206,157,59,8,
33,40,44,44,164,170,170,138,72,36,66,94,94,30,219,182,109,227,246,237,219,28,57,114,4,159,207,151,82,72,50,153,252,201,240,227,199,143,139,154,154,26,130,193,96,202,151,36,147,73,84,85,197,231,243,165,
196,199,199,199,185,118,237,26,182,109,211,208,208,64,85,85,85,202,243,165,165,37,124,62,223,154,227,156,156,156,164,183,183,23,169,186,186,154,174,174,46,38,38,38,48,77,19,219,182,177,109,155,100,50,
137,199,227,113,180,85,215,117,84,85,77,209,72,77,211,208,52,13,93,215,157,88,122,122,186,131,97,219,54,166,105,50,49,49,65,87,87,23,213,213,213,184,218,218,218,80,20,69,116,119,119,51,61,61,237,108,246,
59,183,109,27,195,48,88,94,94,6,32,35,35,131,244,244,116,100,89,70,146,36,36,73,74,185,95,89,231,228,228,176,127,255,126,188,94,175,43,77,211,52,252,126,63,141,141,141,164,167,167,243,255,48,77,211,152,
158,158,70,81,20,254,1,62,43,247,27,211,144,63,220,0,0,0,0,73,69,78,68,174,66,96,130,0,0};

const char* EdoToolbar::stock_gadu_png = (const char*) resource_EdoToolbar_stock_gadu_png;
const int EdoToolbar::stock_gadu_pngSize = 1603;
